package cn.jetpiece.cloud.joss.api.constant;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 授权
 * </p>
 *
 * @author XuJZ
 * @since 2020-09-05
 */
public class AccessorCache implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * UUID
     */
    private String id;

    /**
     * 系统名称
     */
    private String accessorName;

    /**
     * 默认桶名称
     */
    private String defaultBucketName;

    /**
     * 默认对象前缀路径
     */
    private String defaultObjectPrefixPath;

    /**
     * 公钥
     */
    private String accessKey;

    /**
     * 密钥
     */
    private String secretKey;

    /**
     * 请求有效时间
     */
    private Long requestValidTime;

    /**
     * 启用(1:是,0:否)
     */
    private Integer isEnable;

    /**
     * 删除(1:是,0:否)
     */
    private Integer isDel;

    /**
     * 新增时间
     */
    private Date createTime;

    /**
     * 新增人
     */
    private Long createUser;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 更新人
     */
    private Long updateUser;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccessorName() {
        return accessorName;
    }

    public void setAccessorName(String accessorName) {
        this.accessorName = accessorName;
    }

    public String getDefaultBucketName() {
        return defaultBucketName;
    }

    public void setDefaultBucketName(String defaultBucketName) {
        this.defaultBucketName = defaultBucketName;
    }

    public String getDefaultObjectPrefixPath() {
        return defaultObjectPrefixPath;
    }

    public void setDefaultObjectPrefixPath(String defaultObjectPrefixPath) {
        this.defaultObjectPrefixPath = defaultObjectPrefixPath;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public Long getRequestValidTime() {
        return requestValidTime;
    }

    public void setRequestValidTime(Long requestValidTime) {
        this.requestValidTime = requestValidTime;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }
}
